/*
 * This is a manifest file that'll be compiled into welcome.css
 */


.redtop.home {
  text-align: center;
  padding: 110px 0 0 0;

  @media (max-width: $screen-xs-max) {
    padding-top: 70px;
  }
  h1, h2 {
    text-align: center;
    margin: 0;
  }
  h1 {
    font-weight: 200;
    font-size: 38px;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
    letter-spacing: -2px;
    line-height: 1.1;

    @media (max-width: $screen-xs-max) {
      font-size: 34px;
    }
    strong {
      letter-spacing: 0;
    }
  }
  h2 {
    font-size: 22px;
    margin-top: 5px;
    font-weight: 400;
  }
  .container {
    margin-bottom: 100px;

    @media (max-width: $screen-xs-max) {
      margin-bottom: 50px;
    }
  }
  .email-signup {
    max-width: 460px;
    margin-top: 60px;

    @media (max-width: $screen-xs-max) {
      margin-top: 40px;
    }
    input, button {
      border-radius: 4px;
      height: 55px;
      border: 0;
    }
    input {
      @include placeholders {
        color: #aaa;
        -webkit-font-smoothing: antialiased;
      }
      font-size: 20px;
      margin: 0 4px 0 0;

      @media (max-width: $screen-xs-max) {
        max-width: 80%;
        margin: 0 auto;
      }
    }
    .btn {
      @include transition (all 0.3s ease-in-out);
      font-size: 14px;
      font-weight: bold;
      color: #fff;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      background-color: $red;
      border: 3px solid #fff;
      padding: 0px 20px;
      border-radius: 8px;
      -webkit-font-smoothing: antialiased;
    }
    .btn:hover {
      background-color: $darkred;
    }
  }
}


section.featured-action {
  .container {
    margin-top: 100px;
    margin-bottom: 100px;
    @media (max-width: 991px) {
      margin-top: 50px;
      margin-bottom: 30px;
    }
  }
  .image {
    text-align: center;
    img {
      max-width: 100%;
      max-height: 300px;
    }
  }
  .triangle {
    fill: #eaf0f3;
  }
  h2 {
    font-size: 26px;
    margin-bottom: 16px;
    @media (max-width: $screen-md-max) and (min-width: $screen-sm-min) {
      margin-top: 0px;
    }
    span {
      font-style: italic;
      font-weight: 100;
      text-transform: uppercase;
      font-size: 22px;
    }
  }
  .btn {
    margin-top: 13px;
  }

  a, a:hover, a:focus {
    h2, p {
      color: black;
      text-decoration: none;
    }
  }
}


section.more-actions {
  background-color: #eaf0f3;
  padding-top: 40px;
  padding-bottom: 60px;
  .row > div:first-child {
    @media (min-width: 992px) {
      border-right: 1px solid lighten($darkgrey, 60%);
    }
  }
  .row > div:last-child {
    @media (min-width: 992px) {
      border-left: 1px solid lighten($darkgrey, 60%);
    }
  }
  .image {
    overflow: hidden;
    position: relative;
    img {
      max-width: 100%;
    }
  }
  .btn-red {
    margin: 12px 0 44px 0;
    max-width: 200px;
  }
  .text {
    h3 {
      @include transition (color 0.3s ease-in-out);
      text-align: left;
      font-size: 20px;
    }
    p {
      @include transition (color 0.3s ease-in-out);
      text-align: left;
      font-size: 14px;

      @media (max-width: 991px) {
        text-align: left;
      }
    }
    a {
    }

  }
  .col-md-4 {
    position: relative;
    &:hover {
      @media (min-width: 767px) {
        color: $darkred;
      }
      h3 {
        color: $red;
      }
    }
    &:last-child {
      @media (max-width: 991px) {
        margin-bottom: 0px;
      }
    }
    @media (max-width: 991px) {
      margin-bottom: 70px;
    }

  }
  p.seemore {
    text-align: center;
    color: $red;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 14px;
    margin-top: 25px;
    margin-bottom: 0;
    a {
      @include transition (all 0.3s ease-in-out);

      .arrow {
        @include transition (all 0.3s ease-in-out);
        fill: $red;
        width: 10px;
        height: 10px;
        margin-left: 5px;
      }
      &:hover .arrow {
        @include transform(rotate(90deg));
        fill: $darkred;
      }
    }
  }
}

section.mobile-apps {
  margin-top: 70px;
  .image {
    text-align: right;
    img {
      margin-right: 10px;
    }
  }
}

.welcome-index .more-actions .triangle {
  fill: #eaf0f3;
}
.welcome-index .footer .triangle, .welcome-index .push {
  background-color: #eaf0f3;
}

/* Link a whole div as per https://stackoverflow.com/questions/796087/make-a-div-into-a-link */
span.link-div {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;

  /* Fixes overlap error in IE7/8,
   make sure you have an empty gif */
  background-image: image-url('empty.gif');
}
